package com.nmgydy.beans;

import java.math.BigInteger;

public class ExamAbBean {
	private BigInteger id;
	private String year;
	private String termNumber;//学期代码
	private String termName;//学期名称
	private String studentNumber;
	private String studentName;
	private String studentType;//学生类型
	private String schoolClassNumber;
	private String schoolClassName;
	private String examNumber;//考试代码
	private BigInteger selectCourseId;//选课id
	private String courseNumber;
	private String courseName;
	private String serialNumber;//顺序号
	private String stationNumber;
	private String stationName;
	private String examType;//考试类别
	private String examTypeNumber;//考试单位类型代码
	private String examTypePlace;//考试单位类类型名称
	private String createTime;//创建时间
	private String feeStatus;//缴费状态 free unpay payed
	private String paperNumber;//试卷号
	private String paperStatus;//ok,ab,unset,norule
	private BigInteger examPlanId;//
	private String ruleNumber;
	private String paperA;
	private String paperB;
	
	public ExamAbBean(Object obj){
		try{
			Object[] fields = (Object[]) obj;
			id = (BigInteger) fields[0];
			year = (String) fields[1];
			termNumber = (String) fields[2];
			termName = (String) fields[3];
			studentNumber = (String) fields[4];
			studentName = (String) fields[5];
			studentType = (String) fields[6];
			schoolClassNumber = (String) fields[7];
			schoolClassName = (String) fields[8];
			examNumber = (String) fields[9];
			selectCourseId = (BigInteger) fields[10];
			courseNumber = (String) fields[11];
			courseName = (String) fields[12];
			serialNumber = (String) fields[13];
			stationNumber = (String) fields[14];
			stationName = (String) fields[15];
			examType = (String) fields[16];
			examTypeNumber = (String) fields[17];
			examTypePlace = (String) fields[18];
			createTime = (String) fields[19];
			feeStatus = (String) fields[20];
			paperNumber = (String) fields[22];
			paperStatus = (String) fields[23];
			examPlanId = (BigInteger) fields[24];
			ruleNumber = (String) fields[25];
			String majorExamNumber = (String) fields[30];
			String majorExamBNumber = (String) fields[31];
			String provinceExamNumber = (String) fields[32];
			String provinceExamBNumber = (String) fields[33];
			if("1".equals(examTypeNumber)){
				paperA = majorExamNumber;
				paperB = majorExamBNumber;
			}else{
				paperA = provinceExamNumber;
				paperB = provinceExamBNumber;
			}
		}catch(Exception e){
			e.printStackTrace();
		}
	}
	
	public BigInteger getId() {
		return id;
	}
	public void setId(BigInteger id) {
		this.id = id;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getTermNumber() {
		return termNumber;
	}
	public void setTermNumber(String termNumber) {
		this.termNumber = termNumber;
	}
	public String getTermName() {
		return termName;
	}
	public void setTermName(String termName) {
		this.termName = termName;
	}
	public String getStudentNumber() {
		return studentNumber;
	}
	public void setStudentNumber(String studentNumber) {
		this.studentNumber = studentNumber;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public String getStudentType() {
		return studentType;
	}
	public void setStudentType(String studentType) {
		this.studentType = studentType;
	}
	public String getSchoolClassNumber() {
		return schoolClassNumber;
	}
	public void setSchoolClassNumber(String schoolClassNumber) {
		this.schoolClassNumber = schoolClassNumber;
	}
	public String getSchoolClassName() {
		return schoolClassName;
	}
	public void setSchoolClassName(String schoolClassName) {
		this.schoolClassName = schoolClassName;
	}
	public String getExamNumber() {
		return examNumber;
	}
	public void setExamNumber(String examNumber) {
		this.examNumber = examNumber;
	}
	public BigInteger getSelectCourseId() {
		return selectCourseId;
	}
	public void setSelectCourseId(BigInteger selectCourseId) {
		this.selectCourseId = selectCourseId;
	}
	public String getCourseNumber() {
		return courseNumber;
	}
	public void setCourseNumber(String courseNumber) {
		this.courseNumber = courseNumber;
	}
	public String getCourseName() {
		return courseName;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	public String getSerialNumber() {
		return serialNumber;
	}
	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}
	public String getStationNumber() {
		return stationNumber;
	}
	public void setStationNumber(String stationNumber) {
		this.stationNumber = stationNumber;
	}
	public String getStationName() {
		return stationName;
	}
	public void setStationName(String stationName) {
		this.stationName = stationName;
	}
	public String getExamType() {
		return examType;
	}
	public void setExamType(String examType) {
		this.examType = examType;
	}
	public String getExamTypeNumber() {
		return examTypeNumber;
	}
	public void setExamTypeNumber(String examTypeNumber) {
		this.examTypeNumber = examTypeNumber;
	}
	public String getExamTypePlace() {
		return examTypePlace;
	}
	public void setExamTypePlace(String examTypePlace) {
		this.examTypePlace = examTypePlace;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getFeeStatus() {
		return feeStatus;
	}
	public void setFeeStatus(String feeStatus) {
		this.feeStatus = feeStatus;
	}
	public String getPaperNumber() {
		return paperNumber;
	}
	public void setPaperNumber(String paperNumber) {
		this.paperNumber = paperNumber;
	}
	public String getPaperStatus() {
		return paperStatus;
	}
	public void setPaperStatus(String paperStatus) {
		this.paperStatus = paperStatus;
	}
	public BigInteger getExamPlanId() {
		return examPlanId;
	}
	public void setExamPlanId(BigInteger examPlanId) {
		this.examPlanId = examPlanId;
	}
	public String getRuleNumber() {
		return ruleNumber;
	}

	public void setRuleNumber(String ruleNumber) {
		this.ruleNumber = ruleNumber;
	}
	public String getPaperA() {
		return paperA;
	}
	public void setPaperA(String paperA) {
		this.paperA = paperA;
	}
	public String getPaperB() {
		return paperB;
	}
	public void setPaperB(String paperB) {
		this.paperB = paperB;
	}
	
}
